package com.rd.teacher.jichao.day01;

// 圆形
public class Circle extends Shape {

    private double r;

    public Circle(double r) {
        this.r = r;
    }

    @Override
    public double callPerimeter() {
        return 2 * Math.PI * r;
    }
}
